import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.MIDletStateChangeException;

public class GsoftMM extends MIDlet 
{

	private SSCanvas canvas01;
	private Display display;
	
	public GsoftMM() 
	{
		System.out.println("Arrancando aplicacion...");
		
		canvas01= new SSCanvas();
		
		display= Display.getDisplay(this);
		
		Thread myThread;
		myThread= new Thread(canvas01);
		
		myThread.start();
	}

	protected void destroyApp(boolean arg0) throws MIDletStateChangeException {


	}

	protected void pauseApp() {


	}

	protected void startApp() throws MIDletStateChangeException 
	{
		display.setCurrent(canvas01);
	}

}





